package Concurrency2.Chapter03_CAS_Atomic;

import org.openjdk.jol.info.ClassLayout;

/**
 * 功能: 输出Object实例的内存布局.
 */
public class Utils4ObjectLayout {
    public static String showObjectLayout(Object object) {
        return ClassLayout.parseInstance(object).toPrintable();
    }
}
